package dbpopulator;
/**
 * 
 */
import java.lang.reflect.*;
import java.util.HashMap;

/**
 * @author Sadiq Charaniya
 *
 */
public interface RandomTuples {
	
	/*************************************************************************************
     * This method add the tables
     * @param names is the table name
     * @param attribute is string array of attributes of table
     * @param domain allowed Domains are integer,string,double
     * @param primaryKey array of primary keys format is {"id","ssn"}
     * @param foreignKey format is {"attrName", "referenceTable", "referenceAttr"}
     * Eg: {{"StudId","Student","Id"},{"CrsCode","Course","CrsCode"}}
     * another example is {{"CrsCode Semester","Transcript","CrsCode Semester"}}
     * 
     */
	 public void addRelSchema (String name, String [] attribute, String [] domain ,
			 String[] primaryKey, String[][] foreignKey); 
	 /*************************************************************************************
	     * This method generate tuples for the tables
	     * @param   nTuples  int array that contains number of tuple for each table.
	     * @return  Comparable[i][j][k] 3D array where 'i' is the table number
	     * 'j' is the tuple number and 'k' is the attribute number  
	     */
	 public Comparable[][][] generate (int[] nTuples);

}
